package com.netease.nie.service;

import java.util.List;

import com.netease.nie.constants.CustomGoodsConstants;
import com.netease.nie.model.Orders;

public interface OrderService {
	
	List<Orders> listLastThreeMonthsOrderByUserId(long userId, int pageIndex, int pageSize);
	
	Orders getOrderByUserIdGoodsId(long userId, int goodsId, int exchangeCodeId);
	
	Orders getOrderByOrderIdAndUserId(long orderId, long userId);
	
	Long insertOrder(Orders orders);
	
	List<Orders> queryOrdersByUserIdAndCustomGoodsCode(long userId, CustomGoodsConstants customGoodsConstants, int pageIndex, int pageSize);
	
}
